import React, { useEffect } from 'react'

export default function Hello () {
  //卸载hello组件
  useEffect(() => {
    return () => {
      console.log('销毁完成')
    }
  })
  return (
    <div>Hello</div>
  )
}
